

public class NNAtomicRgister extends Thread{
	
	
	//Time stamp
	//Last Value
	//Rank
	private Triple triple;
	//is reading
	private boolean reading;
	//value to write
	private Long writeVal;
	//value to read
	private Long readVal;
	//Rid
	private long rid;
	//Ack
	private long ack;
	
	//readList
	private Triple[] readList;
	
	//Constructor
	public NNAtomicRgister(int n) {
		
		//Triple os timestamp rank and value
		this.triple = new Triple(null,null,null);		
		//ack and rid
		this.ack = this.rid = 0;
		
		this.writeVal = this.readVal = null;
		
		this.reading = false;
		
		readList = new Triple[n];
		
	}
	
	

}
